lcShapeAddEnt Home

Adds a copy of an entity into a shape.

 BOOL lcShapeAddEnt (
   HANDLE hShape,
   HANDLE hEnt,
   BOOL bErase
 );

Parameters
hShape
  Handle to a shape object.
hEnt
  Handle to an entity. There are valid types: Line, Polyline, Rectangle, Circle, Arc, Ellipse.
bErase
  If TRUE, then the source entity (hEnt) will be deleted.

Return Value

  If the function succeeds, the return value is nonzero (TRUE).

See Also

  lcBlockAddShape,   lcShapeEnd,   Code sample